﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model.WMSModel
{
    /// <summary>
    /// 出库表
    /// </summary>
    [Table(TableName = "wms_T_OutStock")]
    public class WMS_T_OutStock
    {
        /// <summary>
        /// id
        /// </summary>
        public string Guid { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string BillNo { get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        public string OutstockNo { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string BillType { get; set; }
        /// <summary>
        /// ERP相关单号
        /// </summary>
        public string RelatedBill { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string Updator { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string Ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string Ext2 { get; set; }
        /// <summary>
        /// 扩展3
        /// </summary>
        public string Ext3 { get; set; }
        /// <summary>
        /// 客户编号    
        /// </summary>
        public string CustomerSN { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string CustomerAddress { get; set; }
        /// <summary>
        /// 收件联系人
        /// </summary>
        public string CustomerContact { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string CustomerLink { get; set; }
        /// <summary>
        /// 销售部门
        /// </summary>
        public string SalesDept { get; set; }
        /// <summary>
        /// 扩展3
        /// </summary>
        public string Salesman { get; set; }
        /// <summary>
        /// 出库仓库
        /// </summary>
        public string Storage_SN { get; set; }

        public int SN { get; set; }

        public int RowNo { get; set; }

        public int SetNo { get; set; }
    }
}
